﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ChainAnalises.Classes.AuxiliaryClasses.DataManipulators.Iterators;
using ChainAnalises.Classes.IntervalAnalysis;

namespace Segmentator.Dividers
{
    public static class  GetStrategyForLessOne
    {
        public static Strategy Get(IteratorStart<Chain, Chain> it, int length)
        {
            if (it.ActualPosition() == 0)
            {
                return new FirstLessOneStrategy();
            }

            return new CommonLessOneStratagy();
        }
    }
}
